Ext.define('Pearlsen.form.action.PSubmit', {
    extend:'Ext.form.action.StandardSubmit',
    alias: 'formaction.psubmit',
    doSubmit: function() {
    	var nope = false,
    	fieldParams = this.form.getValues(nope, nope, this.submitEmptyText !== nope);
    	var _dataSet = new DataSet(this.form.datasetName,this.form.datasetName);
    	_dataSet.setHandlerMethod(this.form.datasetMethod);
    	_dataSet.newRecord();
    	Ext.iterate(fieldParams,function(name,value){
    		_dataSet.setValue(name,value);
    	});
    	_dataSet.execute(this.form.afterSubmitHandler);
	}
	
});